package com.ruoyi.camera.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 摄像机对象 aimp_camera
 * 
 * @author ruoyi
 * @date 2022-06-02
 */
public class AimpCamera extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 摄像机id */
    @Excel(name = "摄像机id")
    private String id;

    /** 摄像机名称 */
    @Excel(name = "摄像机名称")
    private String cameraName;

    /** 摄像机类型 */
    @Excel(name = "摄像机类型")
    private String cameraType;

    /** 绑定主机 */
    @Excel(name = "绑定主机")
    private String bindingHost;

    /** 通道号 */
    @Excel(name = "通道号")
    private String channelNumber;

    /** 部署位置 */
    @Excel(name = "部署位置")
    private String deployLocation;

    /** 摄像机IP */
    @Excel(name = "摄像机IP")
    private String cameraIp;

    /** rtsp */
    @Excel(name = "rtsp")
    private String rtsp;

    /** 主机SN */
    private String hostSn;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCameraName(String cameraName) 
    {
        this.cameraName = cameraName;
    }

    public String getCameraName() 
    {
        return cameraName;
    }
    public void setCameraType(String cameraType) 
    {
        this.cameraType = cameraType;
    }

    public String getCameraType() 
    {
        return cameraType;
    }
    public void setBindingHost(String bindingHost) 
    {
        this.bindingHost = bindingHost;
    }

    public String getBindingHost() 
    {
        return bindingHost;
    }
    public void setChannelNumber(String channelNumber) 
    {
        this.channelNumber = channelNumber;
    }

    public String getChannelNumber() 
    {
        return channelNumber;
    }
    public void setDeployLocation(String deployLocation) 
    {
        this.deployLocation = deployLocation;
    }

    public String getDeployLocation() 
    {
        return deployLocation;
    }
    public void setCameraIp(String cameraIp) 
    {
        this.cameraIp = cameraIp;
    }

    public String getCameraIp() 
    {
        return cameraIp;
    }
    public void setRtsp(String rtsp) 
    {
        this.rtsp = rtsp;
    }

    public String getRtsp() 
    {
        return rtsp;
    }
    public void setHostSn(String hostSn) 
    {
        this.hostSn = hostSn;
    }

    public String getHostSn() 
    {
        return hostSn;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cameraName", getCameraName())
            .append("cameraType", getCameraType())
            .append("bindingHost", getBindingHost())
            .append("channelNumber", getChannelNumber())
            .append("deployLocation", getDeployLocation())
            .append("cameraIp", getCameraIp())
            .append("rtsp", getRtsp())
            .append("hostSn", getHostSn())
            .toString();
    }
}
